package com.qiaofang.collectmanage.service.common.bean;

public enum ResponseCode {
    RC_SUCCESS("1", "成功"),
    RC_PARAMETER_ERROR("1001", "parameter invalid"),
    RC_EXCEPTION_ERROR("1002", "service exception");
    private String responseCode;
    private String responseMessage;

    ResponseCode(String responseCode, String responseMessage) {
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }

}
